package com.education.wisdom.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 目录体系表 jr_catalog
 *
 * @author ruoyi
 * @date 2018-11-15
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Catalog implements Serializable {
    private static final long serialVersionUID = 1L;

    private String parentName;
    /**  */
    private String catalogCode;
    /**  */
    private String name;
    /**  */
    private Integer catalogId;
    /**  */
    private Integer parentId;
    /**  */
    private String catalogBanner = "" ;
    /**  */
    private String catalognIntro = "" ;
    /**  */
    private Integer catalogState;
    /**  */
    private String catalogIco;
    /**  */
    private Integer catalogCurriculumNo;
    /**  */
    private Integer catalogSmallclassNo;
    /**  */
    private Integer catalogResoueceNo;
    /**  */
    private Integer catalogStudentNo;
    /**  */
    private String remark;
    /**  */
    private Integer catalogLearningNum;
    /**  */
    private Integer catalogChapterNum;
    /**  */
    private Integer catalogScore;
    /**  */
    private Integer catalogSort;
    /**  */
    private Integer catalogLevel;
    /**  */
    private String catalogIsfree;
    /**  */
    private String catalogTeacherid;
    /**  */
    private Date updateTime;
    /**  */
    private Date createTime;
    private String createTimeStr;
    /**
     * 排序
     */
    private Integer orderNum;
    /**
     * 1 删除
     */
    private String delFlag;
    //是否标红
    private String isRed;

    private String payFlag;
    /**
     * 教师姓名
     */
    private String tName;
    /**
     * 所属学校
     */
    private String tSchool;
    /**
     * 教师头像
     */
    private String tImage;
    /**
     * 用户编号
     */
    private String userId;
    /**
     * 学习状态
     */
    private String state;
    private boolean istrueflag = false;
    /**
     * 原价
     */
    private Integer price;
    /**
     * vip价格
     */
    private BigDecimal vip;
    private Integer sort;
    private String freeFlag;
    private String studysum;

    /**
     * 目录集合
     */
    private List<Catalog> catalogs;
    private List<Catalog> children;

    private String flash = "";

    private String threeD = "";

    private String oneJi;

    private String twoJi;

    /**
     * 是否隐藏
     */
    private String hide;
    //老师姓名
    private String teacherName;
    //老师简介
    private String teacherIntro;
    //标签
    private List labelList;

    private Integer[] catalogIds;

    private String parentCatalogId;

    private String parentCatalogName;

    /**
     * 0未收藏 1已收藏
     */
    private Integer isLike;

    /**
     * 是否足够购买该课程
     */
    private String isEnough;

    /**
     * 余额
     */
    private BigDecimal balance;

    /**
     * 优惠金额
     */
    private Integer reduced;

}
